package com.dingding.order.facade.common.distance;

import com.dingding.common.core.base.dto.ResponseEntity;
import com.dingding.order.common.dto.distance.ReqCalculationDTO;
import com.dingding.order.common.dto.distance.ReqRealTimeCalculationDTO;
import com.dingding.order.common.dto.distance.ResCalculationDTO;
import com.dingding.order.common.dto.distance.ResRealTimeCalculationDTO;

/**
 * 
 * @ClassName: ICalculationMileageCostFacade 
 * @Description: 计算服务接口类 
 * @author YHQ
 * @date 2016年12月7日 上午11:54:05
 * @since V2.5.7
 * 
 */
public interface ICalculationFacade {

	/**
	 * 
	 * @Title: calculationMileageCost 
	 * @Description: 计算距离、费用
	 * @param reqCalculationDTO 客户端请求参数 
	 * @author YHQ 
	 * @return ResponseEntity<ResCalculationDTO> 响应给客户端的数据Bean
	 * @since V2.5.7
	 * 
	 */
	public ResponseEntity<ResCalculationDTO> calculationMileageCost(ReqCalculationDTO reqCalculationDTO,ResponseEntity<ResCalculationDTO> responseEntity);
	
	/**
	 * 
	 * @Title: realTimeCalculation 
	 * @Description: 实时计算距离价格 
	 * @param reqRealTimeCalculationDTO 客户端请求Bean
	 * @author YHQ 
	 * @since V2.5.7
	 * @return ResRealTimeCalculationDTO  实时计算距离价格 响应Bean
	 * 
	 */
	public ResRealTimeCalculationDTO realTimeCalculation(ReqRealTimeCalculationDTO reqRealTimeCalculationDTO);
	
}
